home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
src
/
apps
/
xconf
/
xconf.install
< prev
next >
Wrap
Text File
|
1994-08-01
|
1KB
|
56 lines
#!/bin/sh
DIR=/usr/tmp/xconf
if [ -d /usr/local/tac ]
then
INSTALLDIR=/usr/local/tac
LINKDIR=/usr/local/bin
else
INSTALLDIR=/usr/local/bin
fi
VERS=`uname -r | cut -f1 -d.`
if [ $VERS -eq '3' ]
then
echo "copying 3.3 xconf executable"
if [ -d /usr/local/tac ]
then
/usr/bsd/rcp guest@camelot.csd:$DIR/xconf.3x $INSTALLDIR/xconf
ln -s $INSTALLDIR/xconf $LINKDIR/xconf
else
/usr/bsd/rcp guest@camelot.csd:$DIR/xconf.3x $INSTALLDIR/xconf
fi
fi
if [ $VERS -eq '4' ]
then
echo "copying 4.0 xconf executable"
if [ -d /usr/local/tac ]
then
/usr/bsd/rcp guest@camelot.csd:$DIR/xconf.4x $INSTALLDIR/xconf
ln -s $INSTALLDIR/xconf $LINKDIR/xconf
else
/usr/bsd/rcp guest@camelot.csd:$DIR/xconf.4x $INSTALLDIR/xconf
fi
else
echo "copying 5.1 xconf executable"
if [ -d /usr/local/tac ]
then
/usr/bsd/rcp guest@camelot.csd:$DIR/xconf.5x $INSTALLDIR/xconf
ln -s $INSTALLDIR/xconf $LINKDIR/xconf
else
/usr/bsd/rcp guest@camelot.csd:$DIR/xconf.5x $INSTALLDIR/xconf
fi
fi
echo "copying resource file"
/usr/bsd/rcp guest@camelot.csd:$DIR/XConf /usr/lib/X11/app-defaults/XConf
echo "copying man page..."
/usr/bsd/rcp guest@camelot.csd:$DIR/xconf.man /usr/catman/local/cat1/xconf.z
echo "done.\n"